package dao;

import java.util.HashMap;
import java.util.List;

import model.MessageRece;

import org.springframework.stereotype.Repository;

@Repository
public interface MessageReceDao {
	public void save(MessageRece messageRece);

	public void update(MessageRece messageRece);

	public List<HashMap<String, Object>> getById(Integer id);

	public void changeStatus(HashMap<String, Object> map);

	public void deleteByMessage(Integer messageid);

	public List<HashMap<String, Object>> getByMessage(Integer messageid);

	public Integer msgCount(Integer userid);
}
